//获取订单数据
var sql = require('../../tools/mysqlCURD')
module.exports = async ctx => {
    ctx.state.data = await sql.query("SELECT * FROM dingdanTable WHERE 0=`ifshow`")
}